]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Remove unused variable
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 28 Feb 2013 19:23:19 +0000 (14:23 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 28 Feb 2013 21:26:08 +0000 (16:26 -0500)
This typo seems to have been here since the very beginning;
no "state" variable appears anywhere.

https://bugzilla.gnome.org/show_bug.cgi?id=694902

js/ui/workspace.js

index 3de61f06988d41809a63ceb33891bcaef0c01169..14a1057742824cf5860ec4777406a60db196066c 100644 (file)
@@ -672,7 +672,7 @@ const LayoutStrategy = new Lang.Class({
     computeWindowSlots: function(layout, area) {
         this._computeRowSizes(layout);
 
-        let { rows: rows, scale: scale, state: state } = layout;
+        let { rows: rows, scale: scale } = layout;
 
         let slots = [];